import request from '@/utils/request'

// 查询排队队列列表
export function listQueueArea(query) {
  return request({
    url: '/vqms/queue/area/list',
    method: 'get',
    params: query
  })
}

// 查询排队队列列表(不分页)
export function selectQueueAreaList(query) {
  return request({
    url: '/vqms/queue/area/getList',
    method: 'get',
    params: query
  })
}

// 查询排队队列详细
export function getQueueArea(id) {
  return request({
    url: '/vqms/queue/area/' + id,
    method: 'get'
  })
}

// 新增排队队列
export function addQueueArea(data) {
  return request({
    url: '/vqms/queue/area/add',
    method: 'post',
    data: data
  })
}

// 修改排队队列
export function updateQueueArea(data) {
  return request({
    url: '/vqms/queue/area/update',
    method: 'put',
    data: data
  })
}

// 删除排队队列
export function delQueueArea(id) {
  return request({
    url: '/vqms/queue/area/' + id,
    method: 'delete'
  })
}